package com.ruoyi.exam.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity;

/**
 * 试题对象 p_question
 *
 * @author ruoyi
 * @date 2021-12-31
 */
@Data
public class PQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 问题内容 */
    @Excel(name = "问题内容")
    private String quContent;

    /** 创建人 */
    private String createPerson;

    /** 问题类型 1单选 2多选 3判断 4简答 */
    @Excel(name = "问题类型 1单选 2多选 3判断 4简答")
    private Long quType;

    /** 题目难度 1简单 2中等 3困难 */
    @Excel(name = "题目难度 1简单 2中等 3困难")
    private Long level;

    /** 图片 */
    private String image;

    /** 所属题库id */
    private Long quBankId;

    /** 所属题库名称 */
    @Excel(name = "所属题库名称")
    private String quBankName;

    /** 解析 */
    @Excel(name = "解析")
    private String analysis;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer deleteFlag;

    private Integer quParentId;
    private Integer sort;
    private String quGeneral;
    private String caseExamples;

    private Integer score;
}
